﻿using System;
using NForthCore;

namespace NForth2
{
    class NForth
    {
        private Engine engine;
        private Kernel kernel;

        public NForth()
        {
            engine = new Engine();
            kernel = new Kernel(engine);
        }

        public void Include(string filename)
        {
            kernel.Include(filename);
        }

        public void Interpret()
        {
            kernel.Interpret();
        }
    }
}
